<template>
	<view class="content">
		<view class="view-center">
			<text>{{ title }}</text>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			title: ''
		};
	},

	onLoad(option) {
		let testData = JSON.parse(decodeURIComponent(option.data));
		this.title = testData.title;
		this.weixin.setClipboard(testData.note);
	}
};
</script>

<style>
.view-center {
	margin: 0 auto;
}
</style>
